﻿# CMakeList.txt: YouChatServer 的 CMake 项目，在此处包括源代码并定义
# 项目特定的逻辑。
#
cmake_minimum_required (VERSION 3.8)

# 将源代码添加到此项目的可执行文件。
add_executable (YouChatGateServer   "main.cpp"
"third_party/json/autolink.h" "third_party/json/config.h" "third_party/json/features.h" 
"third_party/json/forwards.h" "third_party/json/json.h" "third_party/json/json_batchallocator.h" 
"third_party/json/json_reader.cpp" "third_party/json/json_value.cpp" "third_party/json/json_writer.cpp"
"third_party/json/reader.h" "third_party/json/value.h" "third_party/json/writer.h"
"header/Singleton.h" "header/CServer.h" "source/CServer.cpp" "header/const.h"  
"source/HttpConnection.cpp" "header/LogicSystem.h" "source/LogicSystem.cpp" 
"grpc/message.grpc.pb.h" "grpc/message.grpc.pb.cc" "grpc/message.pb.h" "grpc/message.pb.cc"
 "header/VerifyGrpcClient.h" "source/VerifyGrpcClient.cpp" "header/ConfigMgr.h"  
 "header/AsioIOServicePool.h" "source/AsioIOServicePool.cpp" "header/RedisMgr.h" 
 "source/RedisMgr.cpp" "header/MysqlDao.h" "source/MysqlDao.cpp" 
 "source/cosnt.cpp" "source/ConfigMgr.cpp"
  "entity/UserInfo.h" "header/MysqlMgr.h" "source/MysqlMgr.cpp" "header/StatusGrpcClient.h" "source/StatusGrpcClient.cpp")

 #[[
	  set(Boost_INCLUDE_DIR "D:/Software/c++/boost_1_87_0")  # 根据自己的version.hpp文件对应的父路径，见下图
set(Boost_LIBRARY_DIR "D:/Software/c++/boost_1_87_0/stage/lib")  # 编译获得的lib路径
find_package(Boost 1.87.0 REQUIRED)  # 需要引入的库

include_directories(${Boost_INCLUDE_DIR})  # 添加头文件路径
link_directories(${Boost_LIBRARY_DIR}) # 添加链接库地址

 ]]
 # boost

